﻿@using UnityWeb.Resources.DocumentApproval
@model UnityWeb.Models.AutoApproval.AutoApprovalsViewModel

@{
    ViewBag.Title = Index.Title;
}

<section class="accordion" style="margin-top: 5px;">
    <section class="pane">
        @foreach (var viewModel in Model.AutoApprovals)
        {
            <table>
                <thead>
                    <tr>dsfdsf
                        @Html.Partial("_ShowSingleAutoApproval", viewModel)
                    </tr>
                </thead>
            </table>
        }
        @Html.Partial("_CreateAutoApproval", Model.AddAutoApprovalViewModel)
    </section>
</section>

@section scripts {
    <script src="@Url.Content("~/Scripts/AutoApproval/autoApproval.js")" type="text/javascript"></script>
}
